﻿CREATE TABLE [dbo].[Column] (
    [ColumnId] INT           IDENTITY (1, 1) NOT NULL,
    [Name]     VARCHAR (4000) NULL,
    [Size]     DECIMAL (18)  NULL,
    [DataType] VARCHAR (4000)  NULL,
    [TableId]  INT           NULL,
    CONSTRAINT [PK_Column] PRIMARY KEY CLUSTERED ([ColumnId] ASC),
    CONSTRAINT [FK_Column_Table] FOREIGN KEY ([TableId]) REFERENCES [dbo].[Table] ([TableID])
);

